import request from "@/utils/request";

// 月度汇总分页列表
export function getMonthlyListApi(query) {
  return request({
    url: "/attendance/statistics/monthly/list",
    method: "get",
    params: query,
  });
}

// 原始记录分页列表
export function getOriginalListApi(query) {
  return request({
    url: "/attendance/statistics/original/list",
    method: "get",
    params: query,
  });
}

// 每日统计分页列表
export function getDailyListApi(query) {
  return request({
    url: "/attendance/statistics/daily/list",
    method: "get",
    params: query,
  });
}

// 查询全部离职人员列表
export function getLeaveListApi() {
  return request({
    url: "attendance/statistics/original/leaveList",
    method: "get",
  });
}
